<?php
	$CI = & get_instance();
	$CI->load->model('Mnick');
	$lang  ='vn' ;
	if($lang == 'en')
		$lg = 2;
	else
		$lg =1;
	$data = $CI->Mnick->get_data();
	if(!empty($data))
	{
		foreach($data as $row)
		{
        	?>
            <a href="ymsgr:sendim?<?php echo $row['nick_nicks']?>" mce_href="ymsgr:sendim?<?php echo $row['nick_nicks']?>" border="0"><img src="http://opi.yahoo.com/online?u=<?php echo $row['nick_nicks']?>&t=14" mce_src="http://opi.yahoo.com/online?u=hanh_huynh82&t=2"></a>
		    <a href="skype:<?php echo $row['nick_skype']; ?>?chat">
		    	<img alt="<?php echo $row['nick_skype']; ?>" src="<?php echo base_url();?>public/images/home/skype_btn.jpg" width="140" style="margin-top: 10px;">
		    </a>
            <?php
		}
	}
?>